Optimal. Leaf size=147 \[ \frac {256 i a^4 \sec ^3(c+d x)}{315 d (a+i a \tan (c+d x))^{3/2}}+\frac {64 i a^3 \sec ^3(c+d x)}{105 d \sqrt {a+i a \tan (c+d x)}}+\frac {8 i a^2 \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)}}{21 d}+\frac {2 i a \sec ^3(c+d x) (a+i a \tan (c+d x))^{3/2}}{9 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 147, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3494, 3493} \[ \frac {256 i a^4 \sec ^3(c+d x)}{315 d (a+i a \tan (c+d x))^{3/2}}+\frac {64 i a^3 \sec ^3(c+d x)}{105 d \sqrt {a+i a \tan (c+d x)}}+\frac {8 i a^2 \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)}}{21 d}+\frac {2 i a \sec ^3(c+d x) (a+i a \tan (c+d x))^{3/2}}{9 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3493
Rule 3494
Rubi steps
\begin {align*} \int \sec ^3(c+d x) (a+i a \tan (c+d x))^{5/2} \, dx &=\frac {2 i a \sec ^3(c+d x) (a+i a \tan (c+d x))^{3/2}}{9 d}+\frac {1}{3} (4 a) \int \sec ^3(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx\\ &=\frac {8 i a^2 \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)}}{21 d}+\frac {2 i a \sec ^3(c+d x) (a+i a \tan (c+d x))^{3/2}}{9 d}+\frac {1}{21} \left (32 a^2\right ) \int \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx\\ &=\frac {64 i a^3 \sec ^3(c+d x)}{105 d \sqrt {a+i a \tan (c+d x)}}+\frac {8 i a^2 \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)}}{21 d}+\frac {2 i a \sec ^3(c+d x) (a+i a \tan (c+d x))^{3/2}}{9 d}+\frac {1}{105} \left (128 a^3\right ) \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx\\ &=\frac {256 i a^4 \sec ^3(c+d x)}{315 d (a+i a \tan (c+d x))^{3/2}}+\frac {64 i a^3 \sec ^3(c+d x)}{105 d \sqrt {a+i a \tan (c+d x)}}+\frac {8 i a^2 \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)}}{21 d}+\frac {2 i a \sec ^3(c+d x) (a+i a \tan (c+d x))^{3/2}}{9 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.84, size = 103, normalized size = 0.70 \[ \frac {2 a^2 (\sin (2 c)+i \cos (2 c)) \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)} (242 \cos (2 (c+d x))+54 i \tan (c+d x)+89 i \sin (3 (c+d x)) \sec (c+d x)+77)}{315 d (\cos (d x)+i \sin (d x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.60, size = 121, normalized size = 0.82 \[ \frac {\sqrt {2} {\left (3360 i \, a^{2} e^{\left (6 i \, d x + 6 i \, c\right )} + 4032 i \, a^{2} e^{\left (4 i \, d x + 4 i \, c\right )} + 2304 i \, a^{2} e^{\left (2 i \, d x + 2 i \, c\right )} + 512 i \, a^{2}\right )} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}}{315 \, {\left (d e^{\left (8 i \, d x + 8 i \, c\right )} + 4 \, d e^{\left (6 i \, d x + 6 i \, c\right )} + 6 \, d e^{\left (4 i \, d x + 4 i \, c\right )} + 4 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac {5}{2}} \sec \left (d x + c\right )^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.19, size = 117, normalized size = 0.80 \[ \frac {2 \left (256 i \left (\cos ^{5}\left (d x +c \right )\right )+256 \sin \left (d x +c \right ) \left (\cos ^{4}\left (d x +c \right )\right )-32 i \left (\cos ^{3}\left (d x +c \right )\right )+96 \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )+95 i \cos \left (d x +c \right )-35 \sin \left (d x +c \right )\right ) \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}\, a^{2}}{315 d \cos \left (d x +c \right )^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.77, size = 301, normalized size = 2.05 \[ \frac {a^2\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,32{}\mathrm {i}}{3\,d\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}-\frac {a^2\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,96{}\mathrm {i}}{5\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^2}+\frac {a^2\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,96{}\mathrm {i}}{7\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^3}-\frac {a^2\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,32{}\mathrm {i}}{9\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________